package com.zhong.po;

import com.zhong.annotation.FieldAnnotation;

import java.util.Date;

public class Dept {

    @FieldAnnotation(name = "id", required = true)
    private Integer id;

    @FieldAnnotation(name = "部门编号", required = true)
    private Integer deptNo;

    @FieldAnnotation(name = "部门名称", required = true)
    private String deptName;

    @FieldAnnotation(name = "部门地址", required = true)
    private String loc;

    @FieldAnnotation(name = "创建时间")
    private Date createTime;

    @FieldAnnotation(name = "创建用户")
    private String createBy;

    @FieldAnnotation(name = "修改时间")
    private Date updateTime;

    @FieldAnnotation(name = "修改用户")
    private String updateBy;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getDeptNo() {
        return deptNo;
    }

    public void setDeptNo(Integer deptNo) {
        this.deptNo = deptNo;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName == null ? null : deptName.trim();
    }

    public String getLoc() {
        return loc;
    }

    public void setLoc(String loc) {
        this.loc = loc == null ? null : loc.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy == null ? null : createBy.trim();
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy == null ? null : updateBy.trim();
    }
}